<#include "common/header.html"/>
	<div class="wrapper wrapper-content animated fadeInUp">
		<div class="ibox ">
			<div class="ibox-title">
				<h5>
					添加角色
				</h5>
			</div>
			<div class="ibox-content">
				<form method="post" action="/role/add" class="form-horizontal">
					<div class="form-group">
						<label class="col-sm-2 control-label">角色编码</label>
						<div class="col-sm-10">
							<input type="text" class="form-control" name="userCode">
							<span class="help-block m-b-none">角色编码不能重复</span>
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">角色名称</label>
						<div class="col-sm-10">
							<#list permList as perm>
								<div class="checkbox i-checks">
									<label><input type="checkbox" name="" value="${perm.id}"><i></i>${perm.name}</label>
								</div>
							</#list>
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary" type="submit">权限</button>
                                    <button class="btn btn-white">取消</button>
                                </div>
                            </div>
					</form>
			</div>
		</div>
	</div>
	<#include "common/footer.html"/>